package com.deer.wms.base.system.service.take;


import com.deer.wms.base.system.model.take.AreaTaskStockDaily;
import com.deer.wms.base.system.model.take.TakeStockDaily;
import com.deer.wms.common.core.service.Service;

import java.util.List;
public interface TakeStockDailyService extends Service<TakeStockDaily, Integer> {
    /**
     * 通过ID查询
     * @param id
     * @return
     */
    TakeStockDaily findTakeStockDailyById(Integer id);

    /**
     * 条件查询
     * @param takeStockDaily
     * @return
     */
    List<TakeStockDaily> TakeStockDailyList(TakeStockDaily takeStockDaily);

    /**
     * 批量删除
     * @param id
     * @return
     */
    int delectTakeStockDailyById(String id);


    int saveTakeStockDaily(TakeStockDaily takeStockDaily);
    /**
     * 查询物料一起对应的入库数量，出库数量，库存，回流入库数量，暂存区库存 时间范围查询
     * @return
     */
    List<TakeStockDaily> getAllQuantity(TakeStockDaily takeStockDaily);

    /**
     * 查询暂存区的库存数量、历史库存数、入库数、出库数、回流入库数
     * @param takeStockDaily
     * @return
     */
    List<AreaTaskStockDaily> getAreaBoxItemQuantity(TakeStockDaily takeStockDaily);
}
